package com.ah.shanxi_demo.service;

import com.ah.shanxi_demo.entity.SxOrderReceipt;
import com.ah.shanxi_demo.param.input.ReceiptPO;

/**
 * @author zt 2020/8/25
 */
public interface IReceiptService {
    /**
     * 根据工单id 创建工单回执表信息 先查询---》再插入
     * @param sxOrderReceipt
     * @return
     */
    SxOrderReceipt insertByOrderReceipt(SxOrderReceipt sxOrderReceipt);


    // 工单 安全咨询（不与部级平台交互）
    Boolean news(ReceiptPO receiptPO);

    /**
     * 工单回执通用处理
     * @param receiptPO
     * @return
     */
    Boolean receipt(ReceiptPO receiptPO);

    //回执（模拟）
    Boolean receiptSimulation(ReceiptPO receiptPO);


    /**
     * 工单查看
     * @param orderId
     * @return
     */
    SxOrderReceipt selectById(Long orderId);



}
